package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;

public interface OrderService {
    public Result order(Map map) throws Exception;

    //体检预约
    Result orders(Map map) throws Exception;

    public Map findById(Integer id);
    //查询套餐
    List<Setmeal> findSetmeal();
    //预约查询所有信息
    PageResult findAll(QueryPageBean queryPageBean);
    //更新预约状态根据ID
    void updateById(Integer oderid);
    //删除预约
    void cancelById(Integer id);

}
